﻿using PaginaWeb.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace PaginaWeb.Controllers
{
    public class ClienteController : Controller
    {
        private ContentProducto db = new ContentProducto();

        //
        // GET: /Administrador/

        public ActionResult Index()
        {
            return View(db.misproductos.ToList());
        }

        public ActionResult Detalle(int id)
        {
            return View(db.misproductos.Find(id));
        }

    }
}
